# for 循环语法
"""
for 临时变量 in 要遍历的数据:
    代码块:临时变量循环体
"""
list1 = ['python', 'git', 'mysql', 'linux']
for item in list1:
    print(item)

print('==' * 20)
# str(字符)
str1 = 'hello'
for char in str1:
    print(char)

print('==' * 20)
list2 = [
    ['python', 'git', 'mysql', 'linux'],
    ['shell', 'utf8', 'tam']
    ]
print(list2)